package md.mru.core.dtos;

import java.io.Serializable;
import java.util.List;

/**
 * @author sergiu.marin
 * @since 19.05.2014.
 */
public class EventsWrapper implements Serializable {

    private static final long serialVersionUID = -8751369548312791258L;

    private List<EventDto> events;
    private long totalElements;

    public EventsWrapper(List<EventDto> events, long totalElements) {
        this.events = events;
        this.totalElements = totalElements;
    }

    public List<EventDto> getEvents() {
        return events;
    }

    public long getTotalElements() {
        return totalElements;
    }
}
